#donesum.py
total = 0
s = int(input('Enter the num(or done):'))
while s != 'done':
    num = int(s)
    total = total + num
    s = input('Enter the num(or done):')
print('the sum is ' + str(total))
    
